package fi.iki.juri.units;

import java.util.ArrayList;

public class NoUnit extends Unit {
	private static final String NAME = "";
	public NoUnit() {
		super(NAME);
	}

	@Override
	protected void addEdge(final Conversion converter) {}

	@Override
	public void deriveUnit(Unit baseUnit, Calculation fromCalc,
			Calculation toCalc) {
	}

	@Override
	protected Iterable<Conversion> getEdges() {
		return new ArrayList<Conversion>();
	}

	@Override
	public String getName() {
		return NAME;
	}

	@Override
	public String toString() {
		return "<NoUnit>";
	}
}
